<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/14
 * Time: 14:31
 */

namespace app\admin\model;


use traits\model\SoftDelete;

class Admin extends BaseModel
{
    public function authGroup()
    {
        return $this->belongsToMany('AuthGroup','auth_group_access','group_id','uid');
    }
}